package jmine.tec.services.api.factory;

import bancosys.tec.exception.AbstractException;
import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Exception lancada se ocorrer algum erro a instanciar um servico.
 * 
 * @author Rafael Volpato
 */
public class ServiceCreationException extends AbstractException {

    /**
     * Construtor.
     * 
     * @param messageHolder messageHolder
     * @param cause cause
     */
    public ServiceCreationException(LocalizedMessageHolder messageHolder, Throwable cause) {
        super(messageHolder, cause);
    }

    /**
     * Construtor.
     * 
     * @param messageHolder messageHolder
     */
    public ServiceCreationException(LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }
}
